package com.jxtc.enterprise.tenant.vo.deliveryTask;

import com.jxtc.enterprise.common.entity.Store;
import lombok.*;

@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class StoreIdWithNameVO {
    /**
     * 店铺 ID
     */
    private String storeId;
    /**
     * 店铺名称
     */
    private String storeName;

    public StoreIdWithNameVO(Store store) {
        this.storeId = store.getId();
        this.storeName = store.getName();
    }
}
